class chatTextobjWnd extends eui.Component {

	private tx:eui.Label;

	public constructor() {
		super();
        this.addEventListener(eui.UIEvent.COMPLETE,this.onComplete,this);
		this.skinName = "src/Game/gameRoom/chat/chatTextobj.exml";
	}
    private onComplete():void{
        
    }
    public setData(str:string){
        this.tx.width = 432;
        this.tx.text = str;
        this.tx.x = (this.height - this.tx.height)/2;
    }
}